package cn.qfei.qiyuesuo.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Author chenlp
 * @Date 2023/8/14 17:06
 **/

public class FeishuContractPageVo implements Serializable {

    private static final long serialVersionUID = 7678382127100539549L;
    private int code = 0;
    FeishuContractPageDataVo data;
    private boolean success = true;
    private String msg = "success";

    public boolean SUCCESS(){
        return this.code == 0 && success;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


    public FeishuContractPageDataVo getData() {
        return data;
    }

    public void setData(FeishuContractPageDataVo data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class FeishuContractPageDataVo{
        private boolean has_more = false;
        private List<Map<String, Object>> items = new ArrayList<>();
        private String page_token = "";

        public boolean isHas_more() {
            return has_more;
        }

        public void setHas_more(boolean has_more) {
            this.has_more = has_more;
        }

        public List<Map<String, Object>> getItems() {
            return items;
        }

        public void setItems(List<Map<String, Object>> items) {
            this.items = items;
        }

        public String getPage_token() {
            return page_token;
        }

        public void setPage_token(String page_token) {
            this.page_token = page_token;
        }
    }
}
